package com.ruoyi.security.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import com.ruoyi.system.api.domain.SysFile;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 安全检查对象 omp_af_safety_inspection
 *
 * @author cjie
 * @date 2021-12-08
 */
@Data
@ApiModel
public class AfSafetyInspection extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty(value = "ID")
    private String id;

    /** 检查类型 */
    @Excel(name = "检查类型")
    @ApiModelProperty(value = "检查类型")
    private String type;

    /** 检查时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检查时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "检查时间")
    private Date inspectionDate;

    /** 被检企业 */
    @Excel(name = "被检企业")
    @ApiModelProperty(value = "被检企业")
    private String enterpriseId;

    private String enterpriseName;

    private String summary;


    /** 安全问题及隐患 */
    @Excel(name = "安全问题及隐患")
    @ApiModelProperty(value = "安全问题及隐患")
    private String content;

    /** 整改意见 */
    @Excel(name = "整改意见")
    @ApiModelProperty(value = "整改意见")
    private String opinion;

    /** 处理状态 */
    @Excel(name = "处理状态")
    @ApiModelProperty(value = "处理状态")
    private String state;

    /** 删除标志 */
    @ApiModelProperty(value = "删除标志")
    private String delFlag;

    /** 租户ID */
    @ApiModelProperty(value = "租户ID")
    private String tenantId;

    /** 附件id集合 */
    @Excel(name = "附件id集合")
    @ApiModelProperty(value = "附件id集合")
    private List<Long> fileIdList;

    /** 附件集合 */
    @Excel(name = "附件集合")
    @ApiModelProperty(value = "附件集合")
    private List<SysFile> fileList;

}
